/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
/**
 *
 * @author aleixfdz
 */

package Dominio;

import java.util.ArrayList;

public class Jugada {
  public static final int CERRAR = 0;
  public static final int DESCARTAR = 1;
  public static final int BARAJA = 0;
  public static final int DESCARTE = 1;

  private int accion;
  private ArrayList<int[]> particion;
  private int posicion;

  public Jugada(int a) {
    accion = a;
  }

  public Jugada(int a, ArrayList<int[]> p) {
    accion = a;
    particion = p;
  }

  public Jugada(int a, int p) {
    accion = a;
    posicion = p;
  }

  public Jugada(ArrayList<int[]> p) {
    particion = p;
  }

  public void setAccion(int a) {
    accion = a;
  }

  public void setPosicion(int p) {
    posicion = p;
  }

  public void setParticion(ArrayList<int[]> p) {
    particion = p;
  }

  public int getAccion() {
    return accion;
  }

  public int getPosicion() {
    return posicion;
  }

  public ArrayList<int[]> getParticion() {
    return particion;
  }
}
